from 异常返回值练习 import MyException
from 抛出异常 import PassWord

if __name__ == '__main__':
    myexc = MyException();
    print(myexc.testException());

    print(myexc.demo1());

    pwd = PassWord();
    try:
        print(pwd.input_password());
    except Exception as rs:
        print(rs);